﻿@{
    ViewBag.Title = "MemberInfo";
    Layout = "~/Views/Shared/_Member.cshtml";
    RooHui.Infrastructure.Entities.Entity.Member member = ViewBag.Member;
}
<div class="container" style="margin-top: 20px; min-height:600px;">
    <div class="row">
        <div class="span3" style="padding-top:20px;">
           <ul class="nav nav-tabs nav-stacked">
              <li class="active"><a href="javascript:;">帐户基本</a></li>
              <li><a href="/member/security">帐户密码</a></li>
              <li><a href="/member/notice">系统消息</a></li>
              @*<li><a href="/member/coupon">彩卷</a></li>*@
            </ul>
        </div>
        <div class="span9">
            <div class="headline"><h2>账号基本信息</h2></div>
            <div class="tag-box tag-box-v2">
                <p style="height:40px; line-height:40px;">用户名：@HttpContext.Current.User.Identity.Name</p>
                <p style="height:40px; line-height:40px;">资金账户：xxxxxx （汇付天下）</p>
                <p style="height:40px; line-height:40px;">登录密码： <a href="/member/security" class="btn-u margin-bottom-10">修改密码</a></p>
                <p style="height:40px; line-height:40px;">注册时间：@member.CreateTime.ToString("yyyy.MM.dd HH:mm")</p>
                <hr />
                @if (member.IDCardCheck)
                {
                <p style="height:40px; line-height:40px;">实名认证：@member.RealName</p>
                <p style="height:40px; line-height:40px;">证件号码：@member.IDCardNo.Substring(0,5)*******@member.IDCardNo.Substring(member.IDCardNo.Length-3)</p>
                }
                else
                {
                <p style="height:40px; line-height:40px;">实名认证：<a href="/member/setauth"><span class="badge badge-important">未完成实名认证</span></a></p>
                }
                <hr />
                <p style="height:40px; line-height:40px;">绑定邮箱：@HttpContext.Current.User.Identity.Name</p>
                <p style="height:40px; line-height:40px;">绑定手机号：
                @if (member.HandPhoneCheck)
                {
                    @member.HandPhone.Substring(0, 3)@:****@member.HandPhone.Substring(7, 4) <input type="button" class="btn-u margin-bottom-10" value="修改" />
                }
                else
                {
                    <a href="/member/setmobile"><span class="badge badge-important">手机未绑定</span></a>
                }</p>
            </div>
        </div>
    </div>
</div>
@section scripts{
<script type="text/javascript">
    $(function () {
        $('#labsetting').addClass('active');
    });
</script>
}